﻿#include "ConfigInfo.h"

ConfigInfo::ConfigInfo(void)
{
	m_id = "";
	m_key = "";
	m_params = "";
	m_enable = 1;
}

ConfigInfo::~ConfigInfo(void)
{
}

std::string ConfigInfo::GetId()
{
	return m_id;
}

void ConfigInfo::SetId(std::string id)
{
	m_id = id;
}

std::string ConfigInfo::GetKey()
{
	return m_key;
}

void ConfigInfo::SetKey(std::string key)
{
	m_key = key;
}

std::string ConfigInfo::GetParams()
{
	return m_params;
}

void ConfigInfo::SetParams(std::string value)
{
	m_params = value;
}

int ConfigInfo::GetEanble()
{
	return m_enable;
}

void ConfigInfo::SetEanble(int enable)
{
	m_enable = enable;
}

DateTime ConfigInfo::GetCreateTime()
{
	return m_create_time;
}

void ConfigInfo::SetCreateTime(DateTime time)
{
	m_create_time = time;
}